| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | /** |
||
| 12 | constructor (command) { |
||
| 13 | super('The following command was not found: ' + command) |
||
| 14 | /** |
||
| 15 | * The unknown command |
||
| 16 | * @type {string} |
||
| 17 | * @name CommandNotFoundException#command |
||
| 18 | * @readonly |
||
| 19 | */ |
||
| 20 | this.command = command |
||
| 21 | /** |
||
| 22 | * The fisherCode |
||
| 23 | * @readonly |
||
| 24 | * @constant |
||
| 25 | * @name CommandNotFoundException#code |
||
| 26 | * @type {number} |
||
| 27 | * @default 404 |
||
| 28 | */ |
||
| 29 | this.code = 404 |
||
| 30 | } |
||
| 31 | } |
||
| 33 |